home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-10-26 | 3.0 KB | 117 lines | [TEXT/ScoM] |
- def-sound-set set <groups/instruments/programs>
-
- Defines a sound-set set that consists of instruments
- and their corresponding MIDI program numbers. The following
- defines a example-set with groups piano, bass and effects
- each having several instruments. This example-set can
- be browsed from the Midi menu.
-
- (def-sound-set example-set
- group piano
- acoustic-grand-piano 1
- bright-acoustic-piano 2
- electric-grand-piano 3
-
- group bass
- ebass-1 4
- ebass-2 5
-
- group effects
- breaking-glass 6
- voices 7
- )
-
- If you use the example-set within def-program:
-
- (def-program example-set
- piano electric-grand-piano
- )
-
- Then the resulting MIDI file adjust the program to patch 3.
-
- Using Banks
-
- Some synths have several sound banks. Before program change
- will take place also the sound bank must be selected. There
- are two ways to achieve this. Check you synth manual how it
- does operate.
-
- Multiple Program Changes
-
- If your synth responds to successive program changes so that
- first one selectes the bank and the next selects the program
- define the sounds with (multi <bank> <program>).
-
- (def-sound-set K2000
- group Klavier1
- dual-elec-piano (multi 100 52)
- tine-elec-piano (multi 100 12)
- digital-epiano (multi 100 92)
- stereo-grand (multi 100 2)
- bright-piano (multi 100 42)
- piano&slo-strings (multi 100 22)
- piano/slow-strings (multi 101 2)
- perc-organ (multi 100 82)
- gospel-organ (multi 100 62)
- ballad-organ (multi 101 22)
- )
-
- If your synth responds to controller 32 to select bank you
- should use (bank <bank> <program>).
-
- (def-sound-set mu80-sounds
- group Piano
- GrandPno (bank 0 1)
- BritePno (bank 0 2)
- E-Grand (bank 0 3)
- HnkyTonk (bank 0 4)
- E-Piano1 (bank 0 5)
- E-Piano2 (bank 0 6)
- Harpsi (bank 0 7)
- Clavi (bank 0 8)
- Celesta (bank 0 9)
- )
-
- Accessing sound-sets in def-section
-
- Here is an easy way to access sound-sets within def-section.
- def-sound-set creates a k2000 macro that lets to return the
- program number hooked to it. If you want to change programs
- note by note you can use more than one drum names within
- the macro. If each zone must have it's own program values
- use (append .. ..) to build a suitable formed list.
-
- ; Score example
-
- (def-orchestra 'orchestra
- all-instruments (piano synth bass)
- )
-
- (def-section sect-a
- default
- zone '(1/1 1/1)
- tonality (activate-tonality (major c 4))
- length '(1/16)
- velocity '(64)
- symbol '(a b c)
- piano
- channel 1
- program (k2000 dual-elec-piano tine-elec-piano)
- synth
- channel 2
- program (k2000 new-prophet)
- bass
- channel 3
- program (append (k2000 dual-elec-piano)
- (k2000 tine-elec-piano))
- )
-
- (def-tempo 120)
-
- (midiport :printer)
-
- (play-file-p "test2"
- all-instruments '(sect-a)
- )
-
-